package com.wis.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class TeacherEntity {
    private Integer id;
    private String name;
    private BigDecimal freeMoney;
    private BigDecimal chargeMoney;

    public TeacherEntity(String name, int i, int i1) {
        this.name = name;
        this.freeMoney = new BigDecimal(i);
        this.chargeMoney = new BigDecimal(i1);
    }
}
